#pragma once
#include <vector>
#include <string>
#include <map>
#include <iostream>

using namespace std;

class Word {
public:
  int timesTested;
  float score;
  float percentage;
  Word(string line, bool print = false);
  map<string, vector<string>> words;
  string getByLang(string language);
  float checkByLang(string language, string answer);
  float testByLang(string language1, string language2);
};

void sortByScore(vector<Word*>* wordList, bool fromBest = false);
